package com.z.springkotlinz.service

import com.z.springkotlinz.domain.User
import org.springframework.http.ResponseEntity

interface IUserService {
    fun save(user: User): ResponseEntity<Unit>
    fun update(user: User): ResponseEntity<Unit>
    fun list(id: Long): ResponseEntity<User>
    fun delete(id: Long): ResponseEntity<Unit>
}